package kotlincore.chapt02.不一样的类型声明.增强的类型推导

class test {
}

fun main() {
    val string = "I am Kotlin"
    val int = 1214
    val long = 1214L
    val float = 13.14f
    val double = 13.34
    val double2 = 10.1e6


    println(string.javaClass.name)
    println(int.javaClass.name)
    println(long.javaClass.name)
    println(float.javaClass.name)
    println(double.javaClass.name)
    println(double2.javaClass.name)
}